High Contrast: fix drop states
authorJakub Steiner <jimmac@gmail.com>
Fri, 18 Mar 2016 14:47:30 +0000 (15:47 +0100)
committerJakub Steiner <jimmac@gmail.com>
Fri, 18 Mar 2016 14:48:52 +0000 (15:48 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=763823

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index ea6b7ee255ed54bfb24a5516b4f8d45b9d899cd2..da81bd0f8359e9fa7ff09f3e9924a28bdc6f9082 100644 (file)
@@ -2874,11 +2874,19 @@ messagedialog { // Message Dialog styling
   }
 }
 
-GtkFileChooserDialog {
+filechooser {
   .dialog-action-box {
     border-top: 1px solid $borders_color;
+
     &:backdrop { border-top-color: $backdrop_borders_color; }
   }
+
+  #pathbarbox { border-bottom: 1px solid $bg_color; }
+}
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent;
 }
 
 /***********
@@ -3347,7 +3355,8 @@ button.circular { // FIXME: aggregate to buttons
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black;
+  border-color: $fg_color;
+  box-shadow: inset 0 0 0 2px fg_color;
 }
 
 stackswitcher button.text-button {
index 2d4b87b457b2ba31b6eb979bcc7f7a2098cff9a5..e02f870ef2aeadc4c63271308e5e56a0dcf2b1b3 100644 (file)
@@ -3060,10 +3060,16 @@ messagedialog.csd {
     border-left-style: none;
     border-bottom-left-radius: 7px; }
 
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
   border-top: 1px solid gray; }
-  GtkFileChooserDialog .dialog-action-box:backdrop {
+  filechooser .dialog-action-box:backdrop {
     border-top-color: #737373; }
+filechooser #pathbarbox {
+  border-bottom: 1px solid #000; }
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent; }
 
 /***********
  * Sidebar *
@@ -3583,7 +3589,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: #fff;
+  box-shadow: inset 0 0 0 2px fg_color; }
 
 stackswitcher button.text-button {
   min-width: 100px; }
index 30373fa608dd6046d84d2e76218fcb23c62c7ea6..54ddd104552a63fe0f17ea04dd854b8f1ddc2055 100644 (file)
@@ -3067,10 +3067,16 @@ messagedialog.csd {
     border-left-style: none;
     border-bottom-left-radius: 7px; }
 
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
   border-top: 1px solid gray; }
-  GtkFileChooserDialog .dialog-action-box:backdrop {
+  filechooser .dialog-action-box:backdrop {
     border-top-color: #8d8d8d; }
+filechooser #pathbarbox {
+  border-bottom: 1px solid #fff; }
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent; }
 
 /***********
  * Sidebar *
@@ -3590,7 +3596,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: #000;
+  box-shadow: inset 0 0 0 2px fg_color; }
 
 stackswitcher button.text-button {
   min-width: 100px; }